import tkinter as tk

x = int(input())
y = int(input())
n = int(input())

coords=(0,50,70,100,0,50,70,100,0,50,70,100)

window = tk.Tk()
window.geometry("500x500")
window.title("My App")
canvas = tk.Canvas(window, height=500, width=500)
canvas.pack()
canvas.create_polygon([
coords[0]*n + x, coords[1] *n + y,
coords[2]*n + x, coords[3]*n + y,
coords[4]*n + x, coords[5]*n + y,
coords[6]*n + x, coords[7]*n + y,
coords[8]*n+ x, coords[9]*n + y,
coords[10]*n+ x, coords[11]*n + y,
], fill="blue")


window.mainloop()